class ServiceApi {
  // static final baseApi = 'http://c20api.huashichuxing.com/'; // 正式接口地址
  //   static final baseApi = 'http://api.tt.huashichuxing.com/'; // 测试接口地址
  //   static final baseApi = 'https://api.voico.cn/'; // 测试接口地址
    static final baseApi = 'https://newc201api.huashichuxing.com/'; // 正式接口地址
  // static final socketUrl = 'c20.mq.huashichuxing.com'; // mqtt接口地址 正式
  static final socketUrl = 'newc20msg.huashichuxing.com'; // mqtt接口地址 测试
  // static final socketUrl = 'cuoc20.mq.huashichuxing.com'; // mqtt接口地址 假
  static final String appId = '16532823367867112645';
  static final qiniubaseApi = 'http://test.auth.maitianshanglv.com/'; // 七牛接口地址

  /// App 版本号
  // const String versionCode = '1.0.0';

  static final httpHeaders = {
    'Accept': 'application/json, text/plain, */*',
    "Authorization": "Basic YXRoZW5hOmF0aGVuYV9zZWNyZXQ=",
    'Content-Type': 'application/json;charset=UTF-8',
    "Tenant-Id": "000000",
    // 'Origin': 'http://localhost:8080',
    // 'Referer': 'http://localhost:8080/',
    'User-Agent':
        'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36',
  };

  static final sendSms = 'sms/sendSms'; // 验证码登录
  static final codeLogin = 'driver/codeLogin'; // 验证码登录
  // static final getDriverInfo = 'driver/getDriverInfo'; // 获取司机信息
  static final getDriverInfo = 'driver/getDriverInfoEncrypt'; // 获取司机信息
  static final submitDriverInformation =
      'driver/SubmitDriverInformation'; // 上传司机认证资料
  static final submitCarInformation = 'driver/SubmitCarInformation'; // 上传车辆认证资料
  static final submitQualificationCertificate =
      'driver/SubmitQualificationCertificate'; // 上传司机网约车驾驶证和车辆运营证
  static final certificatonAudit = 'driver/CertificatonAudit'; // 车主认证提交审核
  // static final geyMyCarInfo = 'driver/geyMyCarInfo'; // 获取我的车辆信息
  static final getDriverCertificates =
      'driver/getDriverCertificates'; // 获取司机车辆证件信息
  static final updataCarInfo = 'driver/updataCarInfo'; // 更新车辆信息
  static final getDriverStatisticsDate =
      'statistics/getDriverStatisticsDate'; // 获取车主当日数据
  static final submitFeeback = 'driver/submitFeeback'; // 提交反馈
  static final confirmReceipt = 'order_dispatch/confirmReceipt'; // 确认接单
  static final driverArriveBoardingPoint =
      'order_dispatch/driverArriveBoardingPoint'; // 到达乘客约定地点
  static final receivePassenger = 'order_dispatch/receivePassenger'; // 接到乘客(出发)
  static final orderTripEnd =
      'order_dispatch/orderTripEnd'; // 快车订单行程结束,计算最终价格,修改订单状态
  static final tripArriveDestination =
      'trip_order/TripArriveDestination'; // 城际司机到达目的地
  static final orderInitiateCollection =
      'order_dispatch/orderInitiateCollection'; // 发起收款
  static final endReceivingOrder = 'trip_order/endReceivingOrder'; // 关闭接单(收车)
  static final getMessageList = 'driver/getMessageList'; // 获取通知列表
  static final getMsgContent = 'driver/getMsgContent'; // 查询通知内容
  static final getChatList = 'driver/getChatList'; // 查询消息列表
  static final getChatContent = 'driver/getChatContent'; // 查询消息内容列表
  // static final getTripOrderList =
  //     'trip_order/getTripOrderList'; // 获取行程订单列表 分为历史行程订单和行程中订单
  static final getTripOrderList =
      'trip_order/getTripOrderListEncrypt'; // 获取行程订单列表 分为历史行程订单和行程中订单
  static final driverDailyIncome = 'trip_order/DriverDailyIncome'; // 获取每日收益（司机）
  static final getDriverOperateInfo =
      'driver/getDriverOperateInfo'; // 获取司机今日相关数据
  static final uploadHeadImg = 'driver/uploadHeadImg'; // 头像上传
  static final uploadImg = 'user/uploadImg'; // 图片上传
  static final getOnTripOrderByDriverId =
      'trip_order/getOnTripOrderByDriverId'; // 司机获取行程中订单
  static final getTripOrderInfo = 'trip_order/getTripOrderInfo'; // 获取行程订单信息（司机）
  static final driverCancelOrder = 'order_dispatch/driverCancelOrder'; // 司机取消订单
  static final getShareInfo = 'share/getShareInfo'; // 获取分享信息
  // static final getTripRouteData = 'driver/getTripRouteData'; // 司机获取路线 班次
  static final getIntercityShift = 'trip_order/getIntercityShift'; // 司机获取路线 班次
  // static final getPeerOrders = 'driver/getPeerOrders'; // 司机获取同行订单
  static final getPeerOrdersByTimeTableID =
      'trip_order/getPeerOrdersByTimeTableID'; // 司机获取同行订单
  static final driverGetIntercityOrder =
      'driver/driverGetIntercityOrder'; // 司机获取城际订单详情
  static final pickUpPassengers = 'driver/pickUpPassengers'; // 司机去接乘客
  static final driverReceivables = 'ordercash/driverReceivables'; // 司机收款
  static final confirmReceiptInterCity =
      'order_dispatch/confirmReceiptInterCity'; // 城际出行司机接单
  static final driverGetOnTripFreeRide =
      'freeRide/driverGetOnTripFreeRide'; // 司机获取进行中的顺风车订单
  static final freeRidePlaceOrder = 'freeRide/freeRidePlaceOrder'; // 司机顺风车下单
  static final getFreeRideOrderList =
      'freeRide/getFreeRideOrderList'; // 司机获取城际顺风车列表
  static final getFreeRideOrderData =
      'freeRide/getFreeRideOrderData'; // 司机获取城际顺风车订单信息
  static final getFreeRidePeerOrders =
      'freeRide/getFreeRidePeerOrders'; // 司机获取城际顺风车同行乘客
  static final getRideSharingInfo = 'driver/getRideSharingInfo'; // 获取分享的顺风车订单信息
  static final cancelFreeRideOrder = 'freeRide/cancelFreeRideOrder'; // 取消顺风车行程
  static final refuseFreeRideOrder = 'freeRide/refuseFreeRideOrder'; // 拒绝该顺风车乘客
  static final getUserRideOrderList =
      'order_dispatch/getUserRideOrderList'; // 司机获取乘客顺风车列表
  static final getUserRideOrderInfo =
      'order_dispatch/getUserRideOrderInfo'; // 司机获取乘客顺风车详情
  static final confirmFreeRideOrder =
      'freeRide/confirmFreeRideOrder'; // 顺风车确认接单
  static final driverCompleteFreeRideOrder =
      'freeRide/driverCompleteFreeRideOrder'; // 司机确认顺风车订单完成
  static final driverGetBalance = 'user/getBalance'; // c20h5.huashichuxing.com
  static final driverFetFreezeBalance =
      'user/getFreezeBalance'; // 我的钱包(可用余额-不可提现)
  // static final driverGetBillInfo = 'user/getBillInfo'; // 用户账单查询
  static final driverGetBillInfo = 'user/getBillInfoEncrypt'; // 用户账单查询
  static final bindBankCard = 'user/submitAuthentication'; // 绑定银行卡
  // static final getUserBankCard = 'user/getDefaultAuthentication'; // 获取银行卡信息
  static final getUserBankCard =
      'user/getDefaultAuthenticationEncrypt'; // 获取银行卡信息
  static final withdrawals = 'ordercash/withdrawals'; // 提现
  static final payDriverFee = 'ordercash/payDriverFee'; // 司机认证费微信支付
  static final getDriverFeeState = 'ordercash/getDriverFeeState'; // 司机认证费支付状态
  static final updateDriverName = 'driver/updateDriverName'; // 修改司机昵称
  static final getSupportBankList = 'system/getSupportBankList'; //
  static final getMyPromotionAll = 'user/getMyPromotionAll'; // 查询我的团队
  static final getDriverModifyStatus =
      'driver/getDriverModifyStatus'; // 获取司机信息修改状态
  static final getWxShareQrcode = 'route/getWxShareQrcode'; // 获取扫码收款小程序二维码
  static final modifyHeadImg = 'driver/modifyHeadImg'; // 头像修改
  static final payAllin = 'ordercash/payAllin'; // 通联扫码和二维码支付
  static final getLogOffUser = 'user/logOffUser'; // 注销账号
  static final getFaceRecognitionState =
      'driver/getFaceRecognitionState'; // 查看是否需要扫脸
  static final driverOrderList = 'flight/driverOrderList'; // 司机订单
  static final submitFaceRecognition = 'driver/submitFaceRecognition'; // 公安接口
  static final uploadAuthenticationRecords =
      'driver/uploadAuthenticationRecords'; // 上传人脸认证
  static final pickUpEnterArrved = 'flight/finishOrder'; //接送机确认订单完成
  static final getFrontImage = 'config/getFrontImage'; //　获取启动页图片
  static final getVerification = 'order_dispatch/getVerification'; //　重新刷脸
  static final queryRecordStatus =
      'order_dispatch/getOrderRecordingStatus'; //　查询录音状态
  static final submitRecordUrl =
      'order_dispatch/addOrderUploadRecording'; //　上传录音url
  static final payAgreeQuery = 'ordercash/payAgreeQuery'; // 轮训支付结果
  static final getPayState = 'ordercash/getPayState'; // 获取订单支付结果
  static final driverOrderHistory = 'flight/driverOrderHistory'; // 获取接送机司机订单
  static final getTripByBooking =
      'ordercash/getTripByBooking'; // 根据流水id查询行程订单详情（暂时只支持接送机）
  static final getAllBalance = 'user/getAllBalance'; // 司机总金额
  static final getIncomeByDay = 'user/getIncomeByDay'; //　每日流水
  static final getAppVersion = 'user/updateAppVersion'; //　上传收集信息
  static const List<int> BOUNDARY_CHARACTERS = const <int>[
    0x30,
    0x31,
    0x32,
    0x33,
    0x34,
    0x35,
    0x36,
    0x37,
    0x38,
    0x39,
    0x61,
    0x62,
    0x63,
    0x64,
    0x65,
    0x66,
    0x67,
    0x68,
    0x69,
    0x6A,
    0x6B,
    0x6C,
    0x6D,
    0x6E,
    0x6F,
    0x70,
    0x71,
    0x72,
    0x73,
    0x74,
    0x75,
    0x76,
    0x77,
    0x78,
    0x79,
    0x7A,
    0x41,
    0x42,
    0x43,
    0x44,
    0x45,
    0x46,
    0x47,
    0x48,
    0x49,
    0x4A,
    0x4B,
    0x4C,
    0x4D,
    0x4E,
    0x4F,
    0x50,
    0x51,
    0x52,
    0x53,
    0x54,
    0x55,
    0x56,
    0x57,
    0x58,
    0x59,
    0x5A
  ];
}
